package com.bawei.park2211a.adapter

import com.bawei.base.bean.NoticeEntity
import com.bawei.park2211a.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

class NoticeAdapter :BaseQuickAdapter<NoticeEntity,BaseViewHolder>(R.layout.item_notice) {
    override fun convert(helper: BaseViewHolder, item: NoticeEntity) {
        helper.setText(R.id.notice_title,item.title)
        helper.setText(R.id.notice_time,item.publishTime)
        helper.setText(R.id.notice_msg,item.content)
    }
}